# == Schema Information
# Schema version: 20110109142807
#
# Table name: referrals
#
#  id          :integer(4)      not null, primary key
#  name        :string(255)
#  type        :string(255)
#  remarks     :string(255)
#  created_by  :integer(4)
#  modified_by :integer(4)
#  created_at  :datetime
#  updated_at  :datetime
#

class Referral < ActiveRecord::Base
  has_many :candidates

  validates_uniqueness_of :name
  validates_presence_of :type
  

end
